<%@ page language="java" pageEncoding="UTF-8"%>
<%
response.setContentType("text/xml");
response.setHeader("Cache-Control","no-cache");
String username = request.getParameter("username");

boolean isValid = false;
if (username.equals("admin")) {
	isValid = true;
}

if(isValid) {
	out.println("<content>该用户名已经存在！</content>");

}else{
	out.println("<content>ok</content>");
}
%>